<template>
  <!-- 团队管理 -->
  <div>
    <p style="font-weight: 700">
      团队管理
      <el-button type="primary" style="margin-left: 20px"
        ><el-icon><Plus /></el-icon>新增</el-button
      >
    </p>
    <el-table :data="tableData" style="font-size: 12px">
      <el-table-column label="序号">
        <template #default="scope">
          <div style="display: flex; align-items: center">
            <span style="margin-left: 10px">{{
              scope.row.entManageteamid
            }}</span>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="姓名">
        <template #default="scope">
          <div style="display: flex; align-items: center">
            <span style="margin-left: 10px">{{ scope.row.entManagename }}</span>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="性别">
        <template #default="scope">
          <div style="display: flex; align-items: center">
            <span style="margin-left: 10px">{{ scope.row.entManagesex }}</span>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="职务">
        <template #default="scope">
          <div style="display: flex; align-items: center">
            <span style="margin-left: 10px">{{
              scope.row.entManageoffice
            }}</span>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="证件类型">
        <template #default="scope">
          <div style="display: flex; align-items: center">
            <span style="margin-left: 10px">{{
              scope.row.entManagedocuments
            }}</span>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="证件号码">
        <template #default="scope">
          <div style="display: flex; align-items: center">
            <span style="margin-left: 10px">{{ scope.row.entManagedid }}</span>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="是否董事会成员">
        <template #default="scope">
          <div style="display: flex; align-items: center">
            <span style="margin-left: 10px">{{
              scope.row.entManageisshareholder
            }}</span>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="联系方式">
        <template #default="scope">
          <div style="display: flex; align-items: center">
            <span style="margin-left: 10px">{{
              scope.row.entManagephthon
            }}</span>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="备注">
        <template #default="scope">
          <div style="display: flex; align-items: center">
            <span style="margin-left: 10px">{{
              scope.row.entManageremark
            }}</span>
          </div>
        </template>
      </el-table-column>
      <el-table-column label="操作">
        <el-icon style="color: #4eabfe"><Delete /></el-icon>
      </el-table-column>
    </el-table>
  </div>
</template>
  
  <script setup>
import { ref, onMounted } from "vue";
import { chaxun } from "../../../apis/Sltapi/GuanLi";
const input = ref("");
var tableData = ref([]);

onMounted(async () => {
  var res = await chaxun();
  tableData.value = res.data.data;
  console.log(res);
});
</script>
  
  <style scoped>
.el-input {
  font-size: 5px;
}
</style>>